package com.shyroke.daydayzhuandao.respository;

import com.shyroke.daydayzhuanapi.entity.AppLabelEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AppLabelRepository extends BaseRepository<AppLabelEntity,Integer>{
    List<AppLabelEntity> findByAppId(Integer appId);

    List<AppLabelEntity> findByAppIdIn(List<Integer> appIdList);

    List<AppLabelEntity> findByAppIdOrderByIdDesc(Integer appId);

    List<AppLabelEntity> findByLabelId(Integer labelId);
}
